home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 102 / CD-ROM 102.iso / aplic / 2sync / 2SyncSetup.exe / modules / em / panel / scripts / DefineButton2_73 / BUTTONCONDACTION on(release).as < prev    next >
Encoding:
Text File  |  2002-03-20  |  410 b   |  18 lines

  1. on(release){
  2.    set("_level40/sound/lib:sound","149");
  3.    call("_level40/sound/lib:play");
  4.    tellTarget("_level50")
  5.    {
  6.       gotoAndStop("off");
  7.    }
  8.    if(getTimer() - myClickTime < eval("_level0/data:DCTime"))
  9.    {
  10.       set("../../../../../codelib:openattach",eval("../:attach"));
  11.       call("../../../../../codelib:openattach");
  12.    }
  13.    else
  14.    {
  15.       myClickTime = getTimer();
  16.    }
  17. }
  18.